﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GuanYijia.DoMain.RBAC
{
    public class UserBusiness
    {
        [Key]
        //主键
        public int UserBusinessId { get; set; }
        //类别
        [StringLength(100)]
        public string? type { get; set; }
        //主Id
        [StringLength(100)]
        public string? key_id { get; set; }
        //用户外键
        public int? userId { get; set; }
        //角色外键
        public int? roleid { get; set; }
        //值
        [StringLength(100)]
        public string? value { get; set; }
        //按钮权限
        [StringLength(100)]
        public string? btn_str { get; set; }
        //删除标记，0未删除，1删除，默认0
        public bool? delete_flag { get; set; }
    }
}
